package com.chucang.shucang.gateway.config;

import com.chucang.shucang.gateway.filter.RequestGlobalFilter;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author flitsneak
 * @email flitsneak@gmail.com
 * @date 2022/9/14 21:00
 * @description 网关配置
 */
@Configuration(proxyBeanMethods = false)
public class GatewayConfig {
    @Bean
    public RequestGlobalFilter requestGlobalFilter() {
        return new RequestGlobalFilter();
    }

}
